<?php
$app			= JFactory::getApplication();
$doc			= JFactory::getDocument();
$templateparams	= $app->getTemplate(true)->params;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" ><head>

<jdoc:include type="head" />
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/favicon.ico" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/reset.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/typography.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/styles.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/thickbox.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/jquery.ui.theme.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/jquery.ui.datepicker.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/nivo-slider.css" />

<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery-1.4.4.min.js"></script>
<script type='text/javascript' src='<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery.nivo.slider.pack.js'></script>
<script type='text/javascript' src='<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery.ui.js'></script>
<script type='text/javascript' src='<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery-datepicker-da.js'></script>
<script type='text/javascript' src='<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery.thickbox.compressed.js'></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery.watermark.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/file-input.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/tabs.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/tooltip.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery.validate.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery.maskedinput-1.2.2.js"></script>

<script type="text/javascript">
	$(function () {
		$("#datepicker").datepicker({ showOn: "button", buttonImage: "<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/img/calendar.gif", buttonImageOnly: true }, $.datepicker.regional['da']);
	});

</script>
<script type="text/javascript">
	$(function(){
		$(".info-icon, .ui-datepicker-trigger").tipTip();
	});
</script>

<script type="text/javascript">
	$(window).load(function() {
		$('#slider').nivoSlider({
			effect:'fade',
			directionNavHide:true,
			controlNav:false,
			pauseOnHover:true,
			directionNav: false,
			animSpeed:700,
        	pauseTime:4000
		});
	});
</script>
</head>

<body>
	<!--[if gt IE 7]><div class="ie ie9"><![endif]-->
    <!--[if gt IE 7]><div class="ie ie8"><![endif]-->
    <!--[if IE 7]><div class="ie ie7"><![endif]-->
    <!--[if IE 6]><div class="ie ie6"><![endif]-->
    <!--[if lt IE 6]><div class="ie ie5"><![endif]-->
    <!--[if !IE]>--><div class="ie0"><!--<![endif]-->
    <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/get_nav.js"></script>
        <div id="wrapper">
        	<div id="page">
        
				<div id="header" class="w975 bor-std">
    <h1 id="logo" class="fll"><a href="index.php"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/img/logo.png" alt="" /><span class="slogan">Hele Danmarks malerformidling</span></a></h1>
    
    
    <div class="header-right flr">
    	<jdoc:include type="modules" name="position-7" />
    </div>
    <!-- After logged in
        <a class="button login flr" href="">Log af</a>
        <div class="logged flr">
            <a class="my-account" href="">Min konto</a>
            <p>Du er logget ind som: <span class="user">fantasifirma@maler.dk</span></p>
        </div>
    -->
     <div class="clr"></div>
    <div id="main-nav">
	<jdoc:include type="modules" name="position-0" />	
	<!--  
	<ul class="menu" id="main-menu">
        <li class="first <?php if(isset($t) && $t == 0) echo 'active'; ?>"><a href="index.php">Forside</a></li>
        <li class="<?php if(isset($t) && $t == 1) echo 'active'; ?>"><a href="om-os.php">Om os</a></li>
        <li class="<?php if(isset($t) && $t == 2) echo 'active'; ?>"><a href="faq.php">Ofte stillede spørgsmål</a></li>
        <li class="<?php if(isset($t) && $t == 3) echo 'active'; ?>"><a href="kontakt.php">Kontakt os</a></li>
        <li class="<?php if(isset($t) && $t == 4) echo 'active'; ?>"><a href="opret-maleropgave.php">Opret maleropgave</a></li>
        <li class="<?php if(isset($t) && $t == 5) echo 'active'; ?>"><a href="tilmeld-malerfirma.php">Tilmeld malerfirma</a></li>
    </ul>  -->
</div>
</div><!--header-->
                <!--main-content-->
                <div id="main">
	              <jdoc:include type="modules" name="position-1"  style="beezDivision" headerLevel="3" />
                  <div style="display:none;" ><jdoc:include type="message" /></div>
                  <jdoc:include type="component" />     	        
                </div><!--/main-content-->
                
                <div id="footer" class="w975 mart10 bor-std">
                <?php
					// catid =14 --> footer
					$items = getArticles(14);
					echo $items[0]->introtext;
                ?>
                </div><!--footer-->
        	</div>
                
        </div><!--wrapper-->
	</div>	
    <!-- Google Analytics script -->
    <script type="text/javascript">
		var _gaq = _gaq || [];
		_gaq.push(['_setAccount', 'UA-33776998-1']);
		_gaq.push(['_trackPageview']);
		
		(function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		})();
		
	</script>

</body>
</html>
